package com.ekgc.addressbook.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface ContactGroupRelationMapper {
    @Update("UPDATE contact_group_relation SET group_id = 0 WHERE group_id = #{groupId}")
    int updateContactGroupIdToZero(int groupId);
}    